/**
 * Copyright &copy; 2019-2022 <a href="https://gitee.com/rit/zx-pm">zx-pm</a> All rights reserved.
 */
package com.zx.pm.modules.zx.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zx.pm.common.persistence.Page;
import com.zx.pm.common.service.CrudService;
import com.zx.pm.modules.zx.entity.ProSupplier;
import com.zx.pm.modules.zx.dao.ProSupplierDao;

/**
 * 项目供应商信息管理Service
 * @author forest
 * @version 2019-01-21
 */
@Service
@Transactional(readOnly = true)
public class ProSupplierService extends CrudService<ProSupplierDao, ProSupplier> {

	public ProSupplier get(String id) {
		return super.get(id);
	}
	
	public List<ProSupplier> findList(ProSupplier proSupplier) {
		return super.findList(proSupplier);
	}
	
	public Page<ProSupplier> findPage(Page<ProSupplier> page, ProSupplier proSupplier) {
		return super.findPage(page, proSupplier);
	}
	
	@Transactional(readOnly = false)
	public void save(ProSupplier proSupplier) {
		super.save(proSupplier);
	}
	
	@Transactional(readOnly = false)
	public void delete(ProSupplier proSupplier) {
		super.delete(proSupplier);
	}
	
	public Integer getRelationExits(ProSupplier p) {
		return dao.getRelationExits(p);
	}
	
	@Transactional(readOnly = false)
	public void saveBidMoney(ProSupplier p) {
		dao.saveBidMoney(p);
	}
}